Expand description
Oxc AST
This is almost similar to estree except a few places:
Identifier
is replaced with explicitBindingIdentifier
,IdentifierReference
,IdentifierName
per specAssignmentExpression
.left
Pattern
is replaced withAssignmentTarget
Cargo Features
"serde"
enables support for serde serialization
Modules
- AST Definitions
Structs
- AST builder for creating AST spans
- A big unsigned integer type.
- Source Type for JavaScript vs TypeScript / Script vs Module / JSX
- Newtype for working with text ranges
- Trivias such as comments
Enums
- Untyped AST Node Kind
- JavaScript or TypeScript
- JSX for JavaScript and TypeScript
- Script or Module
Constants
- Valid file extensions
Traits
- Get the span for an AST node
- Syntax tree traversal
- Syntax tree traversal to mutate an exclusive borrow of a syntax tree in place.
Type Definitions
- Type alias for
CompactString